<template>
	<view>
		<qiun-data-charts type="arcbar" :opts="opts" :chartData="chartData" />
	</view>
</template>

<script>
	export default {
		data() {
			return {
				chartData: {
					series: [{
						name: "正确率",
						color: "#2fc25b",
						data: 0.8
					}]
				},
				opts: {
					color: ["#1890FF", "#91CB74", "#FAC858", "#EE6666", "#73C0DE", "#3CA272", "#FC8452", "#9A60B4",
						"#ea7ccc"
					],
					padding: undefined,
					title: {
						name: "80%",
						fontSize: 35,
						color: "#2fc25b"
					},
					subtitle: {
						name: "正确率",
						fontSize: 25,
						color: "#666666"
					},
					extra: {
						arcbar: {
							type: "circle",
							width: 12,
							backgroundColor: "#E9E9E9",
							startAngle: 1.5,
							endAngle: 0.25,
							gap: 2,
							lineCap: "butt"
						}
					}
				}
			}
		},
		methods: {

		}
	}
</script>

<style>

</style>
